package com.hejia.alauda.entity;

import javax.persistence.Column;

/**
 * 
 * 基金交易记录实体
 *
 *
 * Created by showone on 2015 上午10:46:41.
 *
 * @Copyright: 2015 www.hejiajinrong.com All rights reserved.
 */
public class FundTrade extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1613659755725227750L;

	// 操作类型:BUY-购买,REDEMPTION-赎回
	public enum ActiveType {
		BUY, REDEMPTION
	}

	@Column(length = 10)
	private String fundCode;// 基金代码

	@Column(length = 20)
	private String fundName;// 基金名称

	@Column
	private String custId;// 基金客户号

	@Column
	private ActiveType activeType;// 操作类型

	@Column
	private String confirmedVol;// 购买为购买金额 赎回为赎回份额

	@Column
	private String acceptTime;// 申请时间

	@Column
	private String confirmflagName;// 确认标志名称

	@Column
	private String checkflagname;// 检查标志名称

	@Column
	private String confirmTime;// 申购为预计确认时间 赎回为预计资金到账时间

	public String getFundCode() {
		return fundCode;
	}

	public void setFundCode(String fundCode) {
		this.fundCode = fundCode;
	}

	public String getFundName() {
		return fundName;
	}

	public void setFundName(String fundName) {
		this.fundName = fundName;
	}

	public String getCustId() {
		return custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}

	public ActiveType getActiveType() {
		return activeType;
	}

	public void setActiveType(ActiveType activeType) {
		this.activeType = activeType;
	}

	public String getConfirmedVol() {
		return confirmedVol;
	}

	public void setConfirmedVol(String confirmedVol) {
		this.confirmedVol = confirmedVol;
	}

	public String getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(String acceptTime) {
		this.acceptTime = acceptTime;
	}

	public String getConfirmflagName() {
		return confirmflagName;
	}

	public void setConfirmflagName(String confirmflagName) {
		this.confirmflagName = confirmflagName;
	}

	public String getCheckflagname() {
		return checkflagname;
	}

	public void setCheckflagname(String checkflagname) {
		this.checkflagname = checkflagname;
	}

	public String getConfirmTime() {
		return confirmTime;
	}

	public void setConfirmTime(String confirmTime) {
		this.confirmTime = confirmTime;
	}
}
